package com.yunchang.springboot.models.DO.finance;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunchang.springboot.base.Column;
import com.yunchang.springboot.base.Id;
import com.yunchang.springboot.base.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * finance_exchange_rate
 * @author 1
 * @date 2020-06-09 11:43:37
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Table("finance_exchange_rate")
public class FinanceExchangeRate implements Serializable {
    /**
     */
    @Id("id")
    private Integer id;

    /**
     */
    @Column("currency")
    private String currency;

    /**
     */
    @Column("exchange_rate")
    private BigDecimal exchangeRate;

    /**
     */
    @Column("date")
    private Date date;

    private static final long serialVersionUID = 1L;
}